package com.equipment.management.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.equipment.management.entity.Message;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MessageDao extends BaseMapper<Message> {
    List<Map> getMessage(@Param("operate") String operate);

    void updateMessage (@Param("id")String id);

    void inserMessage(Message message);
}
